﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Nanohope_v1._0
{
    class Scene
    {
        public int id;
        List<Objects> objects;
        //List<Enemy> enemies;

        public Scene(int id)
        {
            this.id = id;
            LoadObjects();
            LoadEnemies();
        }

        private void LoadEnemies()
        {
            //enemies = new List<Enemy>();
            //carregar inimigos de arquivo
        }

        private void LoadObjects()
        {
            objects = new List<Objects>();
            //carregar objetos de arquivo
        }

        public void Update(GameTime gameTime)
        {
            //atualiza inimigos
        }

        public void onDraw(SpriteBatch spriteBatch)
        {
            for (int i = 0; i < objects.Count; i++)
            {
                objects[i].onDraw(spriteBatch);
            }
        }
    }
}
